package com.example.modulethree.delegate

import android.widget.ListView
import android.widget.TabHost
import com.example.modulethree.R
import com.example.modulethree.adapter.KotlinTestAdapter
import com.example.mvp.delegate.BaseAppDelegate

/**
 * Created by sun.li on 2018/6/28.
 * @author sun.li
 */
class KotlinTestFragmentDelegate : BaseAppDelegate(){

    override fun initWidget() {
    }

    override fun initLayoutRes(): Int {
        return R.layout.fragment_kotlin_test
    }

    fun setListAdapter(kotlinTestAdapter: KotlinTestAdapter){
           var listView:ListView = getView(R.id.lv_ktf_list)
            listView?.adapter = kotlinTestAdapter
    }
}